Solving the FIXML2Code-case Study with HenshinTGG
نویسندگان
چکیده
Triple graph grammars (TGGs) provide a formal framework for bidirectional model transformations. As in practice, TGGs are primarily used in pure model-to-model transformation scenarios, tools for text-to-model and model-to-text transformations make them also applicable in text-to-text transformation contexts. This paper presents a solution for the text-to-text transformation case study of the Transformation Tool Contest 2014 on translating FIXML (an XML notation for financial transactions) to source code written in Java, C# or C++. The solution uses the HenshinTGG tool for specifying and executing model-to-model transformations based on the formal concept of TGGs as well as the Xtext tool for parsing XML content to yield its abstract syntax tree (text-to-model transformation) and serialising abstract syntax trees to source code (model-to-text transformation). The approach is evaluated concerning a given set of criteria.
منابع مشابه
Comparing the effect of teaching based on problem solving method versus lecturing method regarding first diet therapy course for students of nutritional science
Introduction: while learning of the first diet therapy course is one of the most important issues, its teaching methods are important too. We aimed to compare the effect of teaching based on problem solving method versus lecturing method regarding first diet therapy course for students of nutritional science. Methods: This semi-experimental study was undertaken on 49 students of nutritional s...
متن کاملConvergence analysis of the global FOM and GMRES methods for solving matrix equations $AXB=C$ with SPD coefficients
In this paper, we study convergence behavior of the global FOM (Gl-FOM) and global GMRES (Gl-GMRES) methods for solving the matrix equation $AXB=C$ where $A$ and $B$ are symmetric positive definite (SPD). We present some new theoretical results of these methods such as computable exact expressions and upper bounds for the norm of the error and residual. In particular, the obtained upper...
متن کاملکاهش تعارضات زناشویی با آموزش مهارت حل مسأله در مراجعین به مرکز مشاوره کمیته امداد امام (ره) شهر ایلام
Background and objectives: One of the common problems in the couple's relationship is marital conflict that can lead to depression, addiction, and spousal abuse, verbal or physical conflict between married couples. The aim of this study was survey of the effectiveness of problem-solving skills on marital conflict in couple referring to counseling Center of committee of Imam khomini of Ilam city...
متن کاملA dynamic programming approach for solving nonlinear knapsack problems
Nonlinear Knapsack Problems (NKP) are the alternative formulation for the multiple-choice knapsack problems. A powerful approach for solving NKP is dynamic programming which may obtain the global op-timal solution even in the case of discrete solution space for these problems. Despite the power of this solu-tion approach, it computationally performs very slowly when the solution space of the pr...
متن کاملA firefly algorithm for solving competitive location-design problem: a case study
This paper aims at determining the optimal number of new facilities besides specifying both the optimal location and design level of them under the budget constraint in a competitive environment by a novel hybrid continuous and discrete firefly algorithm. A real-world application of locating new chain stores in the city of Tehran, Iran, is used and the results are analyzed. In addition, several...
متن کامل